//
//  ContactBookCell.m
//  GolfFriend
//
//  Created by Vescky on 14-3-2.
//  Copyright (c) 2014年 vescky.org. All rights reserved.
//

#import "ContactBookCell.h"
#import "UIImageView+MJWebCache.h"
#import <QuartzCore/QuartzCore.h>

@interface ContactBookCell () {
    
}
@end

@implementation ContactBookCell

- (void)setDataInfo:(NSDictionary*)dict {
    labelMotto.text = [dict objectForKey:@"motto"];
    labelUserName.text = [dict objectForKey:@"nickName"];
    [imgvAvatar setImageURLStr:[dict objectForKey:@"avatar"] placeholder:Default_Avatar];
    imgvAvatar.layer.cornerRadius = imgvAvatar.frame.size.width / 2.0;
}

@end
